/**
 * 展示返利dialog
 */
import React from 'react';

  
export type LabelProps = {
    title:string;
    texts:string[];
  };

  
const UpDownLabel: React.FC<LabelProps> = (props)=>{
    return (
        <div>
          <h3 style={{fontSize:"16px",fontWeight:700,color:"#000"}}>{props.title}</h3>
          <ul style={{color:"#5B5656",fontSize:'15px',padding:'0'}}>
            {
              props.texts[0]===''? <li>-</li>:
              props.texts.map((item,index)=>{
                return <li  key={index}>{item}</li>
              })
            }
          </ul>
        </div>
    );
}
export default UpDownLabel;